export const btnType: Record<number, string> = {
  0: '缓存',
  1: '隐藏',
  2: '显示面包屑',
  3: '隐藏Tab',
  4: '携带参数',
  5: '隐藏全部子菜单',
  6: '固定Tab',
};
// 表格列类型
export interface RowType {
  address: string;
  age: number;
  id: number;
  name: string;
  nickname: string;
  role: string;
  parentId?: null | number;
}
export interface columnsType {
  /**
   * 表格列标题
   */
  title: string;
  /**
   * 对应的后端字段
   */
  field?: string;
  [key: string]: any;
}
